<?php

namespace core\lib;

/**
 * 
 */
class model extends \PDO
{
    
    function __construct()
    {
        $dsn = "mysql:host=localhost;dbname=test";
        $username = 'root';
        $password = 'root';
        try {
            parent::__construct($dsn, $username, $password);
        }catch(\PDOException $e){
            p($e->getMessage());
        }
    }
}
